[body]
  <link href="/css/manage_user.css" rel="stylesheet" type="text/css">
  {error: type=user}
	<form id="registration_form" class="cols typical">
		<div class="col c20" style="padding-top:20px;">
		  <div style="width:130px; height:130px;" class="picture">
			  {u_img}
			  <input type="file" name="ill">
			</div>
			<div style="width:80%; margin-top:50px;">
			  <h3>T-Programs</h3>
				{u_prg}
			</div>
			<div style="width:80%; margin-top:50px; font-size:14px; line-height:20px;">
			  <h3>P-Log</h3>
				<a href="/manage/users/{u_id}/log/edit/">Log params</a>
				<br>
				<a href="/manage/users/{u_id}/log/">the Log</a>
			</div>
			<div style="width:80%; margin-top:50px; font-size:14px; line-height:20px;">
			  <h3>H-status</h3>
				<a href="/manage/users/{u_id}/hstatus/">Edit</a>
			</div>
			<div style="width:80%; margin-top:50px; font-size:14px; line-height:20px;">
			  <h3>D-advice</h3>
				<a href="/manage/users/{u_id}/diet-advice/">Edit</a>
			</div>
		</div>
		<div class="col c80" style="padding-top:20px;">
		    <div class="field f3 ">
					<label>Name *:</label>
					<input type="text" name="u_name" id="u_name" required tabindex="6" placeholder="Type your full name">
					<span><!--err:u_name--></span>
					<div class="clear"></div>
				</div>
		
				<div class="field f3 ">
					<label>E-mail *:</label>
					<input type="text" name="u_email" tabindex="2" stype="email" required placeholder="Used for signIn" id="reg_email">
					<span><!--err:u_email--></span>
					<div class="clear"></div>
				</div>
				
				<div class="field f3 ">
					<label>
						Password:
					</label>
					<input type="password" name="u_pwd" tabindex="4" placeholder="Only to change the existing password" autocomplete="off">
					<span>
						<!--err:u_pwd-->
					</span>
					
					<div class="clear"></div>
				</div>
				
				<div class="field f3" >
					<label style="float:left;">Gender *:</label>
					<div style="width:146px; float:left;">
						<input id="u_gender_male" class="short" type="radio" name="u_gender" value="male" required checked tabindex="10"> <label for="u_gender_male">male</label>
						<input id="u_gender_female" class="short" type="radio" name="u_gender" value="female" tabindex="12"> <label for="u_gender_female">female</label>
					</div>
					<span><!--err:u_gender--></span>
					<div class="clear"></div>
				</div>

				<div class="field f3">
					<label>Date of birth *:</label>
					<input type="text" name="u_bdate" required tabindex="14" stype="date" placeholder="dd.mm.YYYY">
					<span><!--err:u_bdate--></span>
					<div class="clear"></div>
				</div>

			  <div class="field f3">
					<label>Mobile *:</label>
					<input type="text" name="u_mobile" tabindex="16" stype="phone">
					<span><!--err:u_mobile--></span>
					<div class="clear"></div>
				</div>

			  <div class="field f3">
					<label>Office:</label>
					<input type="text" name="u_wphone" tabindex="18" stype="phone">
					<span><!--err:u_wphone--></span>
					<div class="clear"></div>
				</div>

			  <div class="field f3">
					<label>Pack:</label>
					<select name="u_pack">
					  <option value="">no Pack set</option>
					  <option value="comprehensive">Comprehensive</option>
					  <option value="medium">Medium</option>
					  <option value="light">Light</option>
					</select>
					<span><!--err:u_wphone--></span>
					<div class="clear"></div>
				</div>



				<h3><span>Exercise Readiness Questionnaire</span> (ERQ)</h3>
				{u_erq}
				<div class="qf">
				  <div>
						<input type="radio" name="erq1" id="erq1_yes" tabindex="20" value="yes" required>	<label class="inline" for="erq1_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq1" id="erq1_no" tabindex="22" value="no">  					<label class="inline" for="erq1_no">NO</label>
					</div>
					<div>
						Has a physician ever diagnosed you with a heart condition and indicated you should restrict your physical activity?
					</div>
					<div class="clear"></div>
					<span><!--err:erq1--></span>
				</div>

				<div class="qf">
				  <div>
						<input type="radio" name="erq2" id="erq2_yes" tabindex="24" value="yes" required>	<label class="inline" for="erq2_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq2" id="erq2_no" tabindex="26" value="no">  					<label class="inline" for="erq2_no">NO</label>
					</div>
					<div>
						When you perform physical activity, do you feel pain in your chest?
					</div>
					<div class="clear"></div>
					<span><!--err:erq2--></span>
				</div>


				<div class="qf">
				  <div>
						<input type="radio" name="erq3" id="erq3_yes" tabindex="28" value="yes" required>	<label class="inline" for="erq3_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq3" id="erq3_no" tabindex="30" value="no">  					<label class="inline" for="erq3_no">NO</label>
					</div>
					<div>
						When you were not engaging in physical activity, have you experienced chest pain in the past month?
					</div>
					<div class="clear"></div>
					<span><!--err:erq3--></span>
				</div>
				<div class="qf">
				  <div>
						<input type="radio" name="erq4" id="erq4_yes" tabindex="32" value="yes" required>	<label class="inline" for="erq4_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq4" id="erq4_no" tabindex="34" value="no">  					<label class="inline" for="erq4_no">NO</label>
					</div>
					<div>
						Do you ever faint or get dizzy and lose your balance?
					</div>
					<div class="clear"></div>
					<span><!--err:erq4--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq5" id="erq5_yes" tabindex="36" value="yes" required>	<label class="inline" for="erq5_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq5" id="erq5_no" tabindex="38" value="no">  					<label class="inline" for="erq5_no">NO</label>
					</div>
					<div>
						Do you have an injury or orthopedic condition (such as a back, hip, or knee problem) that may worsen due to a change in your physical activity?
					</div>
					<div class="clear"></div>
					<span><!--err:erq5--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq6" id="erq6_yes" tabindex="40" value="yes" required>	<label class="inline" for="erq6_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq6" id="erq6_no" tabindex="42" value="no">  					<label class="inline" for="erq6_no">NO</label>
					</div>
					<div>
						Do you have high blood pressure or a heart condition in which a physician is currently prescribing a medication?
					</div>
					<div class="clear"></div>
					<span><!--err:erq6--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq7" id="erq7_yes" tabindex="44" value="yes" required>	<label class="inline" for="erq7_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq7" id="erq7_no" tabindex="46" value="no">  					<label class="inline" for="erq7_no">NO</label>
					</div>
					<div>
						Are you pregnant?
					</div>
					<div class="clear"></div>
					<span><!--err:erq7--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq8" id="erq8_yes" tabindex="48" value="yes" required>	<label class="inline" for="erq8_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq8" id="erq8_no" tabindex="50" value="no">  					<label class="inline" for="erq8_no">NO</label>
					</div>
					<div>
						Do you have insulin dependent diabetes?
					</div>
					<div class="clear"></div>
					<span><!--err:erq8--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq9" id="erq9_yes" tabindex="52" value="yes" required>	<label class="inline" for="erq9_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq9" id="erq9_no" tabindex="54" value="no">  					<label class="inline" for="erq9_no">NO</label>
					</div>
					<div>
						Are you 69 years of age or older and not used to being very active?
					</div>
					<div class="clear"></div>
					<span><!--err:erq9--></span>
				</div>
	<div class="qf">
				  <div>
						<input type="radio" name="erq10" id="erq10_yes" tabindex="56" value="yes" required>	<label class="inline" for="erq10_yes">YES</label>
					</div>
					<div>
						<input type="radio" name="erq10" id="erq10_no" tabindex="58" value="no">  					<label class="inline" for="erq10_no">NO</label>
					</div>
					<div>
						Do you know of any other reason you should not exercise or increase your physical activity?
					</div>
					<div class="clear"></div>
					<span><!--err:erq10--></span>
				</div>

			  <div class="field f3" style="margin-top:20px;">
					<label>&nbsp;</label>
					<input type="submit" id="reg_submit" tabindex="60" value="Save" class="button orange" style="width:200px;">
					<!--a href="/members">I already have an account.</a-->
					<div class="clear"></div>

				</div>

		</div>
	</form>
[u_img]
  <img src="{u_img}">
[not_u_img]
	<img src="/img/profile_def.jpg" >
[u_erq]
[not_u_erq]
	<div class="bubble red">Not passed ERQ</div>
[u_prg]
	{u_prg}
[u_prg_item]
  <div class="bubble green">
		<a href="/manage/users/{u_id}/{prg_id}">
			Program
			<small>{prg_date} - {prg_deadline}</small>
		</a>
	</div>
[not_u_prg]
  <div class="bubble red">
    No active program
    <a href="/manage/users/{u_id}/new">create</a>

	</div>
[on_insert]
	<div class="msg success">Data added</div>
[on_update]
	<div class="msg success">Data stored</div>